package com.iretailer.mapper;

import com.iretailer.base.SuperMapper;
import com.iretailer.model.Device;
import com.iretailer.model.SiteDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceMapper extends SuperMapper<Device> {

    List<SiteDevice> selectAllSiteDevice(@Param("siteStatus") Integer siteStatus, @Param("deviceStatus") Integer deviceStatus);

    List<SiteDevice> selectSiteDeviceBySiteName_DeviceName(@Param("siteName") String siteName, @Param("deviceName") String deviceName);
}
